<?php

namespace app\shop\controller\typelist;

use think\Controller;

class Typelist extends Controller
{

    public function __construct()
    {
        parent::__construct();
    }

    public function index()
    {
        $proData = model('Product.Product')->select();

        $proTypeData = model('Product.Type')->select();

        $this->success('查询成功', null, ['proData' => $proData, 'proTypeData' => $proTypeData]);
    }
}
